package com.loan.system.service;

import com.loan.common.core.domain.PageQuery;
import com.loan.common.core.domain.Result;
import com.loan.common.core.page.TableDataInfo;
import com.loan.system.domain.IncomeExpendDetailEntity;
import org.redisson.api.RMap;

import java.util.List;
import java.util.Map;

public interface IncomeExpendDetailService {

    void incomeExpendDetailData();

    IncomeExpendDetailEntity selectByCompanyIdAndDate(Long companyId, String buildDate);

    void updateWhiteById(IncomeExpendDetailEntity entity);

    void save(IncomeExpendDetailEntity entity);

    TableDataInfo<Map<String, Object>> selectPageList(String channel, Long companyId, String beginTime, String endTime, PageQuery pageQuery);

    List<Map<String, Object>> selectTotal(String channel, Long companyId, String beginTime, String endTime);
}
